package com.tmsps.ne4weixin.bean.message.custom;

import com.tmsps.ne4weixin.bean.message.custom.vo.Music;
import com.tmsps.ne4weixin.config.enumeration.MsgTypeEnum;

import lombok.Data;
import lombok.EqualsAndHashCode;


/**
 * @Title: MusicMessage.java
 * @Package: com.tmsps.ne4weixin.bean.custom
 * @Description: 客服消息-发送音乐消息
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class MusicMessage extends BaseMessage {

	/**
	 * 音乐消息内容
	 */
	private Music music;
	 
	public MusicMessage(String touser) {
		super(touser, MsgTypeEnum.MUSIC);
	}

	public MusicMessage(String touser, String thumbMediaId) {
		super(touser, MsgTypeEnum.MUSIC);
		this.music = new Music(thumbMediaId);
	}
	
	public MusicMessage(String touser, String musicurl, String hqmusicurl, String thumb_media_id) {
		super(touser, MsgTypeEnum.MUSIC);
		this.music = new Music(musicurl, hqmusicurl, thumb_media_id);
	}
	
	public MusicMessage(String touser,Music music) {
		super(touser, MsgTypeEnum.MUSIC);
		this.music = music;
	}
}
